package com.yidu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.SnFinanceMapper;
import com.yidu.model.SnFinance;
import com.yidu.model.SnProDetail;
import com.yidu.service.SnFinanceService;

/**
 * 公司财务实现类
 * @author chensituo
 * @date 2018年12月23日 下午11:19:52
 */
@Service
public class SnFinanceServiceImpl implements SnFinanceService{
	/**
	 * 注入公司财务mapper
	 */
	@Resource
	SnFinanceMapper financeMapper;

	@Override
	public List<SnProDetail> findAll(Map<String, Object> maps) {
		return financeMapper.findAll(maps);
	}

	@Override
	public int findCount(Map<String, Object> maps) {
		return financeMapper.findCount(maps);
	}
}
